package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生管理对象 student
 * 
 * @author Mr.yang
 * @date 2024-06-01
 */
public class Student extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生学号 */
    private Long studentId;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 学生性别 */
    @Excel(name = "学生性别")
    private String studentSex;

    /** 学生年龄 */
    @Excel(name = "学生年龄")
    private Long studentAge;

    /** 学生班级 */
    @Excel(name = "学生班级")
    private Long studentClass;

    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setStudentSex(String studentSex) 
    {
        this.studentSex = studentSex;
    }

    public String getStudentSex() 
    {
        return studentSex;
    }
    public void setStudentAge(Long studentAge) 
    {
        this.studentAge = studentAge;
    }

    public Long getStudentAge() 
    {
        return studentAge;
    }
    public void setStudentClass(Long studentClass) 
    {
        this.studentClass = studentClass;
    }

    public Long getStudentClass() 
    {
        return studentClass;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentId", getStudentId())
            .append("studentName", getStudentName())
            .append("studentSex", getStudentSex())
            .append("studentAge", getStudentAge())
            .append("studentClass", getStudentClass())
            .toString();
    }
}
